package com.bwie.exception;

/**
 * 异常处理类
 */
public class ExceptionCast {
    //使用此静态方法抛出自定义异常
    public static void cast(int statusCode,String message){
        throw new CustomException(statusCode, message);
    }
}
